package com.hqyj.service;

import com.hqyj.pojo.Paper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hqyj.pojo.ResultVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author rock
 * @since 2022-09-28
 */
public interface IPaperService extends IService<Paper> {

    //试卷生成
    ResultVo paperAdd(Paper p);

    //预览试卷和评分
    ResultVo showPaper(String name);

    //查询考试
    ResultVo queryPaperByName(String name);

}
